#pragma once

#include "OCMain/Environment.h"
#include "OCMain/Singleton.h"

using namespace OCPP;

class ProjectTimer : public CSingleton<ProjectTimer>
{
public:
	ProjectTimer();
	~ProjectTimer();

	void doJob();
	void start();
	void convert(String dateFolder, String name);
	void expired();

	String getFile(String dateTime, String region);
	std::set<String> query(String startTime, String endTime);
	int insert(String dateTime);

	int _expiredTime = 2;
	String _outputPath = "";
	String _dataPath = "";
};

